package com.geiv.backend.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;

/**
 * FileName:SwaggerConfig
 * Author:  Geiv
 * Date:    2021/6/5 0:05
 * Description: Swagger配置
 */
@Configuration
public class SwaggerConfig {
    @Bean
    public Docket docket(){
        return new Docket(DocumentationType.OAS_30)
                .select()
                .build();
    }

}
